package com.example.cloudcashierpos.bean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;

@Entity
public class corecmsfoodcategory {

    /**
     * 序列
     */
    @Id

    // @SqlSugarColumn(ColumnName = "id", IsPrimaryKey = true)
    public long id;

    /**
     * 品牌id
     */
    // @SqlSugarColumn(ColumnName = "corpId", IsNullable = false)
    public int corpId;

    /**
     * 门店id
     */
    // @SqlSugarColumn(ColumnName = "storeId", IsNullable = false)
    public int storeId;

    /**
     * 上级分类id
     */
    // @SqlSugarColumn(ColumnName = "parentId", IsNullable = false)
    public long parentId;

    /**
     * 分类名称
     */
    // @SqlSugarColumn(ColumnName = "name", IsNullable = false)
    public String name;

    /**
     * 分类别名
     */
    // @SqlSugarColumn(ColumnName = "byName", IsNullable = true)
    public String byName;

    /**
     * 手机端是否显示
     */
    // @SqlSugarColumn(ColumnName = "appletShow", IsNullable = true)
    public Integer appletShow;

    /**
     * 分类助记码
     */
    // @SqlSugarColumn(ColumnName = "helpCode", IsNullable = true)
    public String helpCode;

    /**
     * 出品部门id
     */
    // @SqlSugarColumn(ColumnName = "departId", IsNullable = true)
    public Long departId;

    /**
     * 选中图片地址
     */
    // @SqlSugarColumn(ColumnName = "upIcon", IsNullable = true)
    public String upIcon;

    /**
     * 未选中图片地址
     */
    // @SqlSugarColumn(ColumnName = "icon", IsNullable = true)
    public String icon;

    /**
     * 是否删除
     */
    // @SqlSugarColumn(ColumnName = "isDelete", IsNullable = false)
    public Boolean isDelete;

    /**
     * 更新时间
     */
    // @SqlSugarColumn(ColumnName = "modifyTime", IsNullable = true)
    public Long modifyTime;

    /**
     * 菜品排序
     */
    // @SqlSugarColumn(ColumnName = "sort", IsNullable = true)
    public Integer sort;

    @Generated(hash = 446176939)
    public corecmsfoodcategory(long id, int corpId, int storeId, long parentId,
            String name, String byName, Integer appletShow, String helpCode,
            Long departId, String upIcon, String icon, Boolean isDelete,
            Long modifyTime, Integer sort) {
        this.id = id;
        this.corpId = corpId;
        this.storeId = storeId;
        this.parentId = parentId;
        this.name = name;
        this.byName = byName;
        this.appletShow = appletShow;
        this.helpCode = helpCode;
        this.departId = departId;
        this.upIcon = upIcon;
        this.icon = icon;
        this.isDelete = isDelete;
        this.modifyTime = modifyTime;
        this.sort = sort;
    }

    @Generated(hash = 635809645)
    public corecmsfoodcategory() {
    }

    public long getId() {
        return this.id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public int getCorpId() {
        return this.corpId;
    }

    public void setCorpId(int corpId) {
        this.corpId = corpId;
    }

    public int getStoreId() {
        return this.storeId;
    }

    public void setStoreId(int storeId) {
        this.storeId = storeId;
    }

    public long getParentId() {
        return this.parentId;
    }

    public void setParentId(long parentId) {
        this.parentId = parentId;
    }

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getByName() {
        return this.byName;
    }

    public void setByName(String byName) {
        this.byName = byName;
    }

    public Integer getAppletShow() {
        return this.appletShow;
    }

    public void setAppletShow(Integer appletShow) {
        this.appletShow = appletShow;
    }

    public String getHelpCode() {
        return this.helpCode;
    }

    public void setHelpCode(String helpCode) {
        this.helpCode = helpCode;
    }

    public Long getDepartId() {
        return this.departId;
    }

    public void setDepartId(Long departId) {
        this.departId = departId;
    }

    public String getUpIcon() {
        return this.upIcon;
    }

    public void setUpIcon(String upIcon) {
        this.upIcon = upIcon;
    }

    public String getIcon() {
        return this.icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public Boolean getIsDelete() {
        return this.isDelete;
    }

    public void setIsDelete(Boolean isDelete) {
        this.isDelete = isDelete;
    }

    public Long getModifyTime() {
        return this.modifyTime;
    }

    public void setModifyTime(Long modifyTime) {
        this.modifyTime = modifyTime;
    }

    public Integer getSort() {
        return this.sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }
}
